package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.LingyongSL;

public interface LingyongSLRepository extends JpaRepository<LingyongSL, Long>, CustomizedLingyongSLRepository {

    LingyongSL findByTaskId(String taskId);

    LingyongSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<LingyongSL> findByWorkOrderNum(String workOrderNum);

    LingyongSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
